#pragma once

#include <string>

//template <class Type>
class JDataMember
{
public:
	JDataMember(std::string _name,std::string _type,void* _data)
	{

	}

	template <class DataType>
	DataType* GetData();

	~JDataMember(void)
	{

	}
private:
	std::string name;
	std::string type;
	void* data;
};


template <class DataType>
DataType* JDataMember<DataType>::GetData()
{
	return (DataType*)data;
}


